package cn.jiyun.service.impl;

import cn.jiyun.mapper.PassengerChargingItemsMapper;
import cn.jiyun.pojo.PassengerChargingItems;
import cn.jiyun.service.PassengerChargingItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PassengerChargingItemsServiceImpl implements PassengerChargingItemsService {
    @Autowired
    private PassengerChargingItemsMapper passengerChargingItemsMapper;

    @Override
    public List<PassengerChargingItems> findAll() {
        return passengerChargingItemsMapper.findAll();
    }

    @Override
    public void updateById(PassengerChargingItems passengerChargingItems) {
        passengerChargingItemsMapper.updateById(passengerChargingItems);
    }
}
